from django.urls import path
from blog import views

app_name = 'blog'

urlpatterns = [
    path('index/', views.index, name='index'),
    path('detail/<int:blog_id>/', views.blog_detail, name='detail'),
    path('post/', views.blog_post, name='post'),
    path('comment/', views.pub_comment, name='comment'),
    path('search/', views.search, name='search'),
]
